package com.hgzy.sys.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * json 数据实体类
 * @author : look-word
 * @date : 2022-01-15 09:22
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataGridView {
    private Integer code =0;
    private String msg = "";
    private Long count = 0L;
    private Object data;

    public DataGridView(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public DataGridView(Long count, Object data) {
        this.count = count;
        this.data = data;
    }

    public DataGridView(Object data) {
        this.data = data;
    }
}
